package com.eascs.afterloan.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the o2o_advanced_payment database table.
 * 
 */
@Entity
@Table(name="o2o_advanced_payment")
@NamedQuery(name="AdvancedPayment.findAll", query="SELECT a FROM AdvancedPayment a")
public class AdvancedPayment implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	@Column(name="bill_code")
	private String billCode;

	@Column(name="bill_status")
	private String billStatus;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="creat_time")
	private Date creatTime;

	@Column(name="creator_id")
	private String creatorId;

	@Column(name="creator_name")
	private String creatorName;

	@Column(name="loanapply_no")
	private String loanapplyNo;

	@Temporal(TemporalType.DATE)
	@Column(name="pay_date")
	private Date payDate;

	@Column(name="pay_name")
	private String payName;
	
	@Column(name="loaner_name")
	private String loanerName;

	@Temporal(TemporalType.DATE)
	@Column(name="settle_date")
	private Date settleDate;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="update_time")
	private Date updateTime;

	private String updator;

	public AdvancedPayment() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getBillCode() {
		return this.billCode;
	}

	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}

	public String getBillStatus() {
		return this.billStatus;
	}

	public void setBillStatus(String billStatus) {
		this.billStatus = billStatus;
	}

	public Date getCreatTime() {
		return this.creatTime;
	}

	public void setCreatTime(Date creatTime) {
		this.creatTime = creatTime;
	}

	public String getCreatorId() {
		return this.creatorId;
	}

	public void setCreatorId(String creatorId) {
		this.creatorId = creatorId;
	}

	public String getCreatorName() {
		return this.creatorName;
	}

	public void setCreatorName(String creatorName) {
		this.creatorName = creatorName;
	}

	public String getLoanapplyNo() {
		return this.loanapplyNo;
	}

	public void setLoanapplyNo(String loanapplyNo) {
		this.loanapplyNo = loanapplyNo;
	}

	public Date getPayDate() {
		return this.payDate;
	}

	public void setPayDate(Date payDate) {
		this.payDate = payDate;
	}

	public String getPayName() {
		return this.payName;
	}

	public void setPayName(String payName) {
		this.payName = payName;
	}

	public Date getSettleDate() {
		return this.settleDate;
	}

	public void setSettleDate(Date settleDate) {
		this.settleDate = settleDate;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdator() {
		return this.updator;
	}

	public void setUpdator(String updator) {
		this.updator = updator;
	}

	public String getLoanerName() {
		return loanerName;
	}

	public void setLoanerName(String loanerName) {
		this.loanerName = loanerName;
	}
	
	

}